import logging

# logging.basicConfig函数对日志的输出格式及方式做相关配置
def defalutLogConfig(level=logging.DEBUG):
    logging.basicConfig(level=level, format='%(asctime)s - %(filename)s[line:%(lineno)d] - %(levelname)s: %(message)s')